package org.xinjiang.tarim.travel.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.xinjiang.tarim.travel.model.TopicImpression;

import java.util.List;
import java.util.Map;

@Mapper
@Component("TopicImpressionMapper")
public interface TopicImpressionMapper {
    int insertByList(List<TopicImpression> list);

    List<TopicImpression> selectByImpressionId(Long impressionId);

    List<Map> selectHot();

    List<TopicImpression> selectByTopicId(Long topicId);
}